# Description: VNC sunucusunu kolayca uygulamanıza olanak tanıyan çapraz platform C kütüphaneleri
# URL: https://libvnc.github.io/
# Packager: milisarge
# Depends on: libjpeg-turbo libpng gnutls libgcrypt sdl

name=libvncserver
version=0.9.10
release=1

source=(https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz
	initialize-libgcrypt.patch)
build () {
cd $name-LibVNCServer-$version
patch -p1 -i ../initialize-libgcrypt.patch
./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}
